# 加密字符串
SECRET_KEY = '0437b4ed3da5de35a573909b05090d25b7df37c403a0b3a5809e60d18d06bfc2'
# 禁止json转Unicode
JSON_AS_ASCII = False
# 数据库连接
HOSTNAME = '43.142.114.149'
PORT = '3306'
DATABASE = 'flask'
USERNAME = 'flask'
PASSWORD = 'flask'
DB_URI = 'mysql+pymysql://{}:{}@{}:{}/{}'.format(USERNAME, PASSWORD, HOSTNAME, PORT, DATABASE)
SQLALCHEMY_DATABASE_URI = DB_URI
# 邮箱配置
MAIL_SERVER = 'smtp.qq.com'

MAIL_PORT = '465'
MAIL_USE_TLS = False
MAIL_USE_SSL = True
MAIL_DEBUG = True
MAIL_USERNAME = '597879949@qq.com'
MAIL_PASSWORD = 'xlbimyoyxkqnbfhe'
MAIL_DEFAULT_SENDER = '597879949@qq.com'
